package cyce.dfs.fileChooser;

import java.util.*;

public class File {
	
	private String fileName;
	private Directory parent;
	
	public File(Directory parent, String fileName) {
		this.parent = parent;
		this.fileName = fileName;
	}
	
	public String getName() {
		return this.fileName;
	}
	
	@Override
	public String toString() {
		return this.getName();
	}
	
	public String list() {
		return this.getName();
	}

	
	public Directory getParent() {
		return this.parent;
	}
	
	public File getChildAt(int index) {
		return null;
	}

	public int getChildCount() {
		return 0;
	}
	
	public int getIndex(File file) {
		return -1;
	}
	
	public boolean isLeaf() {
		return true;
	}
}
